package com.studentmanagement.dao;

import com.studentmanagement.model.Teacher;

import java.util.List;
import java.util.Map;

public interface TeacherMapper {
    Teacher getTeacherById(Integer id);
    Teacher getTeacherByUserId(Integer userId);
    Teacher getTeacherByTeacherId(String teacherId);
    List<Teacher> getAllTeachers();
    List<Teacher> searchTeachers(Map<String, Object> params);
    int insertTeacher(Teacher teacher);
    int updateTeacher(Teacher teacher);
    int deleteTeacher(Integer id);
    int deleteTeacherByUserId(Integer userId);
}